package com.hps.shiro.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author heps
 * @date 2018/11/19
 */
@RestController
@RequestMapping("/guest")
public class GuestController {

    @GetMapping("/enter")
    public String login() {
        return "欢迎进入，您的身份是游客";
    }

    @GetMapping("/getMessage")
    public String submitLogin() {
        return "您拥有获得该接口的信息的权限！";
    }
}
